home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 July: Mac OS SDK / Dev.CD Jul 00 SDK2.toast / Development Kits / Hardware / Mac OS USB DDK / Mac OS USB DDK 1.4.1 / Examples / USBTabletModule / USBTabletModule.make < prev    next >
Encoding:
Text File  |  2000-04-25  |  2.6 KB  |  80 lines  |  [TEXT/R*ch]

  1. #
  2. #    File:        USBTabletModule.make
  3. #
  4. #    Contains:    Make for for USB Wacom HID module
  5. #
  6. #    Version:    xxx put version here xxx
  7. #
  8. #    Copyright:    © 1997-1998 by Apple Computer, Inc., all rights reserved.
  9. #
  10.  
  11. MAKEFILE     = USBTabletModule.make
  12. •MondoBuild• = {MAKEFILE}  # Make blank to avoid rebuilds when makefile is modified
  13. Includes     = -i {USBInterfacesInternal},{USBInterfacesExternal}
  14. Sym•PPC      = -sym on 
  15. USBTabletModuleTarget    = {USBTargets}Drivers:USBHIDUSBTabletModule
  16.  
  17. PPCCOptions  = {Includes} {Sym•PPC}   {NeptuneCOptions}
  18.  
  19. LinkPPC        =    PPCLink
  20.  
  21. Objects•PPC    =    "{USBObjects}USBTabletModule.c.o"                ∂
  22.                 "{USBObjects}USBTabletModuleHeader.c.o"         ∂
  23.                 "{USBObjects}USBTabletModuleCDM.c.o"
  24.                 
  25. USBTabletModule ƒƒ "{USBReleaseExtensions}USBHIDUSBTabletModule"  
  26.  
  27. "{USBReleaseExtensions}USBHIDUSBTabletModule" ƒ  "{USBTabletModuleTarget}" 
  28.         duplicate -y "{USBTabletModuleTarget}"  {Targ}
  29.         
  30. {USBTabletModuleTarget}    ƒƒ    {•MondoBuild•}  {Objects•PPC}     "{USBInterfacesInternal}USBHIDModule.exp"
  31.     delete -i "{Targ}.xcoff"
  32.     delete -i "{Targ}.dbg"
  33.     {LinkPPC}                                                ∂
  34.         -map "{USBMapDir}USBHIDUSBTabletModule.map"                 ∂
  35.         -t 'ndrv'                                            ∂
  36.         -c 'usbd'                                            ∂
  37.         -o {USBTabletModuleTarget} {Sym•PPC}                     ∂
  38.         {Objects•PPC}                                         ∂
  39.         -xm sharedlibrary                                    ∂
  40.         -share context                                        ∂
  41.         -@export "{USBInterfacesInternal}USBHIDModule.exp"    ∂
  42.         "{USBLibraries}USBServicesLib"                         ∂
  43.         "{SharedLibraries}InterfaceLib"                     ∂
  44.         "{StubLibsDir}CursorDevicesLib"                        ∂
  45.         "{PPCLibraries}PPCCRuntime.o"
  46.  
  47.  
  48. {USBTabletModuleTarget}    ƒƒ    "{USBInterfacesInternal}PackageVersion.h"    ∂
  49.                         "USBTabletModuleVersion.h"                ∂
  50.                         "USBTabletModule.r"                        ∂
  51.                         {•MondoBuild•}
  52.     Rez                                                        ∂
  53.         -i "{USBInterfacesInternal}"                        ∂
  54.         -i "{RIncludes}"                                    ∂
  55.         "{RIncludes}Types.r"                                ∂
  56.         "USBTabletModule.r"                                        ∂
  57.         -a                                                    ∂
  58.         -o {Targ}
  59.         
  60. "{USBObjects}USBTabletModuleHeader.c.o"    ƒ    "USBTabletModuleHeader.c"            ∂
  61.                                         "{USBInterfacesExternal}USB.h"    ∂
  62.                                         "{USBInterfacesInternal}PackageVersion.h"            ∂
  63.                                         "USBTabletModuleVersion.h"            ∂
  64.                                         "USBTabletModule.h"                        
  65.     {PPCC} USBTabletModuleHeader.c -o {Targ} {PPCCOptions}
  66.  
  67. "{USBObjects}USBTabletModule.c.o"    ƒ    "USBTabletModule.c"                        ∂
  68.                                         "{USBInterfacesExternal}USB.h"    ∂
  69.                                         "USBTabletModule.h"
  70.     {PPCC} USBTabletModule.c -o {Targ} {PPCCOptions}
  71.  
  72. "{USBObjects}USBTabletModuleCDM.c.o"    ƒ    "USBTabletModuleCDM.c"                    ∂
  73.                                     "{USBInterfacesExternal}USB.h"        ∂
  74.                                     "USBTabletModule.h"
  75.     {PPCC} USBTabletModuleCDM.c -o {Targ} {PPCCOptions}
  76.  
  77. Clean ƒƒ
  78.     Delete -i {Objects•PPC}
  79.     Delete -i {USBTabletModuleTarget} 
  80.     Delete -i "{USBReleaseExtensions}USBHIDUSBTabletModule"